package com.Shoping.entity;

/**
 * 该实体类仅限购物车使用，其他一律不使用
 */
public class ShoppingList {

    private Integer cmsId;//商品快主键
    private String oNumber;//订单号为订单主键，随机生成
    private Integer cmId;//商品主键
    private Integer sId;//购物车主键
    private Integer cmsNumber;//商品快购物对应商品数量
    private Double cmsSubtotal;//商品快总金额
    private String cmName;//商品对应的名称
    private Double cmPrice;//商品价格
    private String color;//商品颜色

    public ShoppingList() {
    }

    public ShoppingList(Integer cmsId, String oNumber, Integer cmId, Integer sId, Integer cmsNumber, Double cmsSubtotal, String cmName, Double cmPrice, String color) {
        this.cmsId = cmsId;
        this.oNumber = oNumber;
        this.cmId = cmId;
        this.sId = sId;
        this.cmsNumber = cmsNumber;
        this.cmsSubtotal = cmsSubtotal;
        this.cmName = cmName;
        this.cmPrice = cmPrice;
        this.color = color;
    }

    public Integer getCmsId() {
        return cmsId;
    }

    public void setCmsId(Integer cmsId) {
        this.cmsId = cmsId;
    }

    public String getoNumber() {
        return oNumber;
    }

    public void setoNumber(String oNumber) {
        this.oNumber = oNumber;
    }

    public Integer getCmId() {
        return cmId;
    }

    public void setCmId(Integer cmId) {
        this.cmId = cmId;
    }

    public Integer getsId() {
        return sId;
    }

    public void setsId(Integer sId) {
        this.sId = sId;
    }

    public Integer getCmsNumber() {
        return cmsNumber;
    }

    public void setCmsNumber(Integer cmsNumber) {
        this.cmsNumber = cmsNumber;
    }

    public Double getCmsSubtotal() {
        return cmsSubtotal;
    }

    public void setCmsSubtotal(Double cmsSubtotal) {
        this.cmsSubtotal = cmsSubtotal;
    }

    public String getCmName() {
        return cmName;
    }

    public void setCmName(String cmName) {
        this.cmName = cmName;
    }

    public Double getCmPrice() {
        return cmPrice;
    }

    public void setCmPrice(Double cmPrice) {
        this.cmPrice = cmPrice;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
